Previous Book Contents Book Index Next

Inside Macintosh: QuickDraw GX Objects /
Chapter 7 - View-Related Objects / View-Related Objects Reference
View Device Functions / Manipulating View Device Object Properties


GXGetViewDeviceViewGroup

You can use the GXGetViewDeviceViewGroup function to determine the view group that a view device is part of.

gxViewGroup GXGetViewDeviceViewGroup(gxViewDevice source);
source
A reference to the view device whose view group you wish to examine.
function result
A reference to the view group that the source view device is part of.
DESCRIPTION
The GXGetViewDeviceViewGroup function returns a reference to the source view device's view group. If it is the onscreen view group, the returned value is gxScreenViewDevices.

ERRORS, WARNINGS, AND NOTICES
Errors 
invalid_viewDevice_reference 
SEE ALSO
To set a view device's view group, use the GXSetViewDeviceViewGroup function, described next.

The gxScreenViewDevices view group reference is described in the section "View Group Types" on page 7-69.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
7 JUL 1996